package com.butioy.study.jersey.pojo;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author yanglq
 * @since 3.0.0
 */
@Setter
@Getter
@ToString
@Accessors(chain = true)
public class Login implements Serializable {

    private static final long serialVersionUID = -4329261817142135431L;

    @NotBlank(message = "账号不能为空")
    private String account;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String captchaCode;

}
